<%@ page language="java" contentType= "text/html" pageEncoding="UTF-8"%>
<%@include file="/include/common/griduihead1.jsp"%>
<%
	page1.setFastMode(true);
	page1.setSupportTree(true);
	page1.getPageTitle().setEnab(false);
%>
<%@include file="/include/common/griduihead2.jsp"%>
<%
	page1.getPageTitle().setTitle("電腦賬號管理left");
	page1.setMinWidth(100);
	page1.setFilterEnab(false);
%>
<jm:form>
<jm:layout postion="north">
	<jm:toolbar searchText="刷新" searchIcon="sx-tb-refresh" newEnab="false" saveEnab="false"  cancelEnab="false" deleteEnab="false" copyEnab="false" startEnab="false" checkEnab="false" exportEnab="false" printEnab="false" helpEnab="false"/>
</jm:layout>
<jm:layout postion="center">
	<jm:tree id="tree1" treeData="<%=ret.getSerchResult()%>" config="{callback:{onClick: openeditpage}}"/>
</jm:layout>
</jm:form>
<jm:script><script type="text/javascript" charset="UTF-8">
	var targetWin = targetWin = parent.$('#mainFrame')[0].contentWindow;
	targetWin.location.href='admin003_right.jsp?applysn=<%=form.gpsv("firstSn")%>';
	
	function openeditpage(event, treeId, treeNode){
		if(treeNode['sn'] == undefined || treeNode['sn'] == ''){
			return ;
		}
		targetWin.location.href='admin003_right.jsp?applysn='+treeNode['sn'];
	}
</script></jm:script>
<%@include file="/include/common/griduiend.jsp"%>
